<%--
  Created by IntelliJ IDEA.
  User: 若兮
  Date: 2021/12/29
  Time: 15:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>简历审核详情页</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="layui/css/layui.css">
</head>
<body class="layui-anim layui-anim-downbit">
<form class="layui-form" action="${pageContext.request.contextPath}/resumeCheck?id=${requestScope.resumeInfo.id}&state=0">
    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">员工姓名</label>
        <div class="layui-input-inline" lay-sort="">
            <input type="text" name="name" readonly value="${requestScope.resumeInfo.name}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">性别</label>
        <div class="layui-input-inline">
            <input type="text" name="sex" readonly value="${requestScope.resumeInfo.sex}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">申请岗位</label>
        <div class="layui-input-inline">
            <input type="text" name="job" readonly value="${requestScope.resumeInfo.job}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">申请部门</label>
        <div class="layui-input-inline">
            <input type="text" name="dName" readonly value="${requestScope.resumeInfo.dName}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">毕业院校</label>
        <div class="layui-input-inline">
            <input type="text" name="collage" readonly value="${requestScope.resumeInfo.collage}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">生日</label>
        <div class="layui-input-inline">
            <input type="text" name="birth" readonly value="${requestScope.resumeInfo.birth}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">政治面貌</label>
        <div class="layui-input-inline">
            <input type="text" name="mianmao" readonly value="${requestScope.resumeInfo.mianmao}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px">经历</label>
        <div class="layui-input-inline">
            <input type="text" name="expensive" readonly value="${requestScope.resumeInfo.expensive}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px;">证书</label>
        <div class="layui-input-inline">
            <input type="text" name="zhengshu" readonly value="${requestScope.resumeInfo.zhengshu}" class="layui-input" style="background-color: #ddd;">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label layui-font-16" style="width: 100px;">员工号</label>
        <div class="layui-input-inline">
            <input type="text" name="eno" class="layui-input" minlength="4" maxlength="4" placeholder="同意时请给予工号" style="border-color: #FF5722;">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-form-item">
            <button type="submit" class="layui-btn" style="margin-left: 20px;margin-top: 10px;text-decoration: none">通过</button>
            <a type="button" onclick="return resumeCheck_fail();" class="layui-btn layui-btn-danger" href="${pageContext.request.contextPath}/resumeCheck?id=${requestScope.resumeInfo.id}&state=2" style="margin-top: 10px;text-decoration: none">不通过</a>
            <a class="layui-btn" href="${pageContext.request.contextPath}/showAllResumeCheckByPage" style="margin-top: 10px;text-decoration: none">返回</a>
        </div>
    </div>
</form>
<script type="text/javascript" src="js/jquery-3.6.0.js"></script>
<script type="text/javascript" src="layui/layui.js"></script>
<script type="text/javascript">
    function resumeCheck_fail() {
        let msg = "真的要拒绝吗？";
        return confirm(msg) === true;
    }
</script>
</body>
</html>
